package com.ht.service;

import com.ht.bean.*;
import org.apache.ibatis.annotations.*;

import java.util.List;
import java.util.Map;


public interface HouqingService {
    //后勤管理----------------------------------------------------------------------------
//    //维修管理查询
    List<Equipmentrepair>weixiulist();

    List<Map> eplist(Integer startIndex,Integer pageSize,Equipmentrepair equipmentrepair);

    public int countep(Equipmentrepair equipmentrepair);

    //维修管理添加
    public boolean weixiuadd(Equipmentrepair equipmentrepair);

   //维修管理删除
    public boolean weixiudel(String equipmentId);

    //维修管理根据id查找对象
    public Equipmentrepair weixiusel(String equipmentId);

    //维修管理修改
    public boolean weixiuupd(Equipmentrepair equipmentrepair);

    //维修管理结束时间
    public boolean weixiushijian(Equipmentrepair equipmentrepair);

    //查询班级表
    List<Studentclass> classlist();

   //查询学生表
   List<Student> listsd();

    //查询部门表
    List<Dep>deplist();

    //楼栋维护👇---------------------------------------------------------------------------------------------------

    //楼栋id查询 模糊查询
    List<Map> loudonglist(Integer startIndex,Integer pageSize, Studentfloor studentfloor);


    //id查询 模糊查询的总页数
    public int loudongcount(Studentfloor studentfloor);


    //楼栋管理新增
    public boolean loudongadd(Studentfloor studentfloor);

    //楼栋管理删除
    public boolean loudongdel(String floorId);

    //楼栋管理根据id查找对象
    public Studentfloor studentfloor(String floorId);

    //楼栋管理修改
    public boolean loudongupd(Studentfloor studentfloor);



    //宿舍管理↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓++++++++++++++++++++++++++----------------------------+++++++++++++++++++++++++++------------------------+++++++++++++++++
    //------------------------------------------------------------------------------------------------------------------------------------------------------------

    //id查询 模糊查询
    List<Map> sushelist(Integer startIndex,Integer pageSize,Studenthuor studenthuor);


    //id查询 模糊查询的总页数
    public int sushecount(Studenthuor studenthuor);


    //楼栋管理新增
    public boolean susheadd(Studenthuor studenthuor);

    //楼栋管理删除
    public boolean sushedel(String huorId);

    //楼栋管理根据id查找对象
    public Studenthuor studenthuor(String huorId);

    //楼栋管理修改
    public boolean susheupd(Studenthuor studenthuor);

    //楼栋查询
    List<Studentfloor> sflist();

   //维修管理根据id查找对象
   public Studenthuor sushesel(String huorId);
}
